package com.daylive.dao;


import java.util.List;



import org.apache.ibatis.annotations.Param;

import com.daylive.model.Channel;
import com.daylive.page.Pagination;
public interface ChannelDao {
	public Channel getChannelById(@Param("id") int id);
	public  List<Channel> getChannelList(@Param("agentId") int agentId,Pagination page);
	public  List<Channel> getChannelPushList();
	public int addChannel(Channel channel);
	public int updateChannel(Channel channel);
	public int updateChannelStatus(Channel channel);
	public int delChannel(@Param("id") int id);
	public int delAll(String[] ids);
	
}
